<?php
namespace Application\Entity;


use Doctrine\ORM\Mapping as ORM;
use Application\Repository\LoadFriendFacebookRepository;

/**
 * User
 *
 * @ORM\Entity(repositoryClass="Application\Repository\LoadFacebookRepository") @ORM\Table(name="load_facebook")
 */
class LoadFacebook
{
    public static $TYPE_FRIEND = 1;
    public static $TYPE_PHOTO = 2;
    public static $TYPE_VIDEO = 3;
    public static $TYPE_ALBUM = 4;
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="bigint", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    public $id;
    
    /**
     * @var string
     *
     * @ORM\Column(name="uid", type="bigint", nullable=false)
     */
    public $uid;
    
    /**
     * @var string
     *
     * @ORM\Column(name="after", type="string", nullable=false)
     */
    public $after;
    
    /**
     * @var int : friend=1, photo=2, video=3, album=4, etc
     *
     * @ORM\Column(name="type", type="integer", nullable=false)
     */
    public $type;
    
    /**
     * @var \DateTime
     *
     * @ORM\Column(name="created_at", type="datetime", nullable=true)
     */
    public $createdAt;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="modified_at", type="datetime", nullable=false)
     */
    public $modifiedAt;

}
